package com.mini.res;

import com.mini.model.BusinessPlanSitePageR;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BusinessPlanSitePageRRES extends BusinessPlanSitePageR {

    @ApiModelProperty(value = "是否新创建, 1是 0 否")
    private Byte newFlag = 0;
    private List<HashMap> jieDaiXinXiList;

    @ApiModelProperty(value = "飞天：0 传统：1")
    private Integer siteType = 0;

    @ApiModelProperty(value = "飞天：0 传统：1")
    private String siteTypeName ;

    public String getSiteTypeName() {
        if(siteType == 0){
            return "传统机会";
        }else{
            return "传统机会";
        }
    }
}
